package cn.yunhe.hom4;

public class Driver_Test {
    public static void main(String[] args) {
        LaoDriver d1 = new LaoDriver("白家奇", 21);
        JiaoChe j1 = new JiaoChe();
        KeChe k1 = new KeChe();
        HuoChe h1 = new HuoChe();
        d1.KaiChe(j1);
        d1.KaiChe(k1);
        d1.KaiChe(h1);
    }
}
